﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HRCIS.SchemaLoader.TypeMapping
{
    public class HRCDbDataType
    {
        public HRCDbDataType(
            HRCDbType dbType
            , DataType dataType
            , string dbDataType
            , int size = -1
            )
        {
            DbType = dbType;
            HRCDataType = dataType;
            DbDataType = dbDataType;
            Size = size;
        }

        public HRCDbType DbType { get; set; }
        public DataType HRCDataType { get; set; }
        public string DbDataType { get; set; }
        public int Size { get; set; }
    }


    public enum HRCDbType
    {
        SQL = 1,
        Oracle = 2
    }
}
